package com.the4man.framework.service;

import com.the4man.framework.model.*;
import com.the4man.framework.pagemodel.PSystemManager;

import java.util.List;

/**
 * Created by lenovo on 2017/12/12.
 */
public interface SystemManagerServiceI {
    boolean saveUserDetail(PSystemManager var1) throws Exception;

    User getUserInfo(PSystemManager var1) throws Exception;

    List<User> getAllUserInfo(PSystemManager var1) throws Exception;

    boolean addUserInfo(PSystemManager var1) throws Exception;

    boolean deleteBatchUser(List<String> var1) throws Exception;

    boolean modifyUserInfo(PSystemManager var1) throws Exception;

    List<Role> getEtlRoleData(PSystemManager var1) throws Exception;

    boolean addRoleData(PSystemManager var1) throws Exception;

    boolean deleteBatchRole(List<String> var1) throws Exception;

    boolean modifyRoleData(PSystemManager var1) throws Exception;

    boolean checkRoleName(PSystemManager var1) throws Exception;

    List<Moudle> getMoudleDataByRole(PSystemManager var1) throws Exception;

    int insertLimitRoleModule(PSystemManager var1) throws Exception;

    int deleteCurrentRoleModule(PSystemManager var1) throws Exception;

    List<Moudle> getEtlMoudleData(PSystemManager var1) throws Exception;

    boolean addMoudleData(PSystemManager var1) throws Exception;

    boolean deleteBatchMoudle(List<String> var1) throws Exception;

    boolean modifyMoudleData(PSystemManager var1) throws Exception;

    boolean checkMoudleName(PSystemManager var1) throws Exception;

    List<Department> getEtlDepartmentData(PSystemManager var1) throws Exception;

    boolean addDepartment(PSystemManager var1) throws Exception;

    boolean deleteDepartment(PSystemManager var1) throws Exception;

    List<Department> modifyDepartment(PSystemManager var1) throws Exception;

    boolean modifyDepartmentData(PSystemManager var1) throws Exception;

    void assignPermission(String var1, String var2);

    List<RolePermissionMap> selectByRoleId(String var1);

    List<RolePermissionMap> findAll();

    void insert(RolePermissionMap var1);

    void deleteByRoleId(String var1);
}
